package dao;

import pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    //根据ID查找用户
    User getUserById(int id);

    //分页limit
    List<User> getUserByLimit(Map<String, Integer> map);

    //分页RowBounds
    List<User> getUserByRowBounds();

}
